<style type="text/css">
	.sm_paginator_item_empty.fanpage {
		margin: 0 0 20px;
		width: 100%;
	}
	.sm_paginator_item_empty {
		border: 1px solid #DADADA;
		color: #999999;
		float: left;
		font-weight: bold;
		margin: 5px 2% 20px;
		padding: 150px 0;
		text-align: center;
		vertical-align: middle;
		width: 96%;
	}
</style>
<?php
$payment = Payment_Manager::getInstance();
$idPage = $this->social->getIdPage();
$trial = $payment->getHandlerByCode(Payment_Item_Trial::CODE);
?>
<?php $campaign = $payment->getHandlerByCode(Payment_Item_Campaign::CODE); ?>
<?php if(!$campaign->hasRecord()):?>
	<?php if (!$trial->isValid($idPage)): ?>
				<!--free trial-->
				<div style="padding-right: 2px;">
					<div class="sm_paginator_item_empty fanpage">
						<?php echo $this->translate('UNDER_CONSTRUCTION'); ?>   
					</div>
				</div>				
			</div>
			<div class="ym_footer" style="clear: both">
				<div class="footer_contain_img">
					<a class="footer_img" target="_blank" href="<?php echo $this->social->getAppUrl() ?>"> </a>
				</div>
			</div>
			</body>
		</html>
		<?php exit(); ?>
	<?php endif;?>
<?php else:?>
	<!--- expired campaign : nothing to do-->
<?php endif; ?>
